package events.settings
{
	import flash.events.Event;
	
	import models.vos.accounts.EmailAddress;
	
	import views.components.setting.SingleEmailInput;

	public class EmailAddressEvent extends Event
	{
		public static const REMOVE_EMAIL_INPUT:String = "EmailAddressEvent_RemoveEmailInput";
		public static const DELETE_EMAIL_ADDRESS:String = "EmailAddressEvent_RemoveEmailAddress";
		public static const SET_AS_MAIN:String = "EmailAddressEvent_SetAsMain";
		
		public var emailInput:SingleEmailInput;
		public var emailAddress:EmailAddress;
		public function EmailAddressEvent(type:String, emailAddress:EmailAddress, emailInput:SingleEmailInput = null)
		{
			super(type, true, false);
			this.emailAddress = emailAddress;
			this.emailInput = emailInput;
		}
		
	}
}